package com.itheima.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 对于Post请求发送的分页请求，用该类去接受分页信息
 */
@ApiModel(description = "对于Post请求发送的分页请求，用该类去接受分页信息")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class PageVo {
    /**
     * 请求页码
     */
    @ApiModelProperty(value = "请求页码", position = 1)
    private Integer pageNum;
    /**
     * 该页大小
     */
    @ApiModelProperty(value = "该页大小", position = 2)
    private Integer pageSize;
}
